//
// Created by renyi on 16/6/18.
//

#ifndef SSL_THREAD_JSON_PARSE_H
#define SSL_THREAD_JSON_PARSE_H
#include <stdio.h>
#include <string.h>
#include <json-c/json.h>


#ifdef __cplusplus
extern "C" {
#endif
int device_parse(char* json, char* device_id, char* device_name, char* device_sn);
int password_parse(char* json, char* password);
#ifdef __cplusplus
}
#endif


#endif //SSL_THREAD_JSON_PARSE_H
